package cn.sciento.boot.tenant.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "stong.tenant.init")
public class TenantInitProperties  {
  public static final String TENANT_INIT_PROPERTIES_PREFIX = "stong.tenant.init";
  
  private Register register = new Register();
  
  private Aspect aspect = new Aspect();
  
  private Process process = new Process();
  
  public static class Register {
    public static final String TENANT_INIT_REGISTER_PROPERTIES_PREFIX = "stong.tenant.init.register";
    
    private boolean enabled = false;
    
    public boolean isEnabled() {
      return this.enabled;
    }
    
    public void setEnabled(boolean enabled) {
      this.enabled = enabled;
    }
  }
  
  public static class Aspect {
    public static final String TENANT_INIT_ASPECT_PROPERTIES_PREFIX = "stong.tenant.init.aspect";
    
    private boolean enabled = false;
    
    public boolean isEnabled() {
      return this.enabled;
    }
    
    public void setEnabled(boolean enabled) {
      this.enabled = enabled;
    }
  }
  
  public static class Process {
    public static final String TENANT_INIT_PROCESS_PROPERTIES_PREFIX = "stong.tenant.init.process";
    
    private boolean enabled = false;
    
    public boolean isEnabled() {
      return this.enabled;
    }
    
    public void setEnabled(boolean enabled) {
      this.enabled = enabled;
    }
  }
  
  public Register getRegister() {
    return this.register;
  }
  
  public void setRegister(Register register) {
    this.register = register;
  }
  
  public Aspect getAspect() {
    return this.aspect;
  }
  
  public void setAspect(Aspect aspect) {
    this.aspect = aspect;
  }
  
  public Process getProcess() {
    return this.process;
  }
  
  public void setProcess(Process process) {
    this.process = process;
  }
}
